\documentclass[10pt,a4paper]{article}
\usepackage[spanish]{babel}
\usepackage{amsmath, amscd, amssymb, amsthm, latexsym}

%\usepackage{tikz} %Para graficos
%\usetikzlibrary[shapes.geometric]
\usepackage{caratula} %Para la caratula
\usepackage{fancyhdr} %Para los encabezados y pies de pagina
\usepackage{verbatim} %Para los comentarios
\usepackage{lastpage} %Para poder hacer referencia a la cantidad de hojas finales OJO: COMPILAR 2 VECES!!!
\usepackage[pdftex]{color,graphicx} %Para poder incluir graficos
\usepackage{moreverb} %Para poder incluir codigo
%\usepackage{makeidx} % Para crear el indice
\usepackage[utf8]{inputenc} %Para acentos
\usepackage{lscape}
\usepackage[normalem]{ulem}
\usepackage{listings}

\usepackage{xcolor}

\definecolor{LightButter}{rgb}{0.98,0.91,0.31}
\definecolor{LightOrange}{rgb}{0.98,0.68,0.24}
\definecolor{LightChocolate}{rgb}{0.91,0.72,0.43}
\definecolor{LightChameleon}{rgb}{0.54,0.88,0.20}
\definecolor{LightSkyBlue}{rgb}{0.45,0.62,0.81}
\definecolor{LightPlum}{rgb}{0.68,0.50,0.66}
\definecolor{LightScarletRed}{rgb}{0.93,0.16,0.16}
\definecolor{Butter}{rgb}{0.93,0.86,0.25}
\definecolor{Orange}{rgb}{0.96,0.47,0.00}
\definecolor{Chocolate}{rgb}{0.75,0.49,0.07}
\definecolor{Chameleon}{rgb}{0.45,0.82,0.09}
\definecolor{SkyBlue}{rgb}{0.20,0.39,0.64}
\definecolor{Plum}{rgb}{0.46,0.31,0.48}
\definecolor{ScarletRed}{rgb}{0.80,0.00,0.00}
\definecolor{DarkButter}{rgb}{0.77,0.62,0.00}
\definecolor{DarkOrange}{rgb}{0.80,0.36,0.00}
\definecolor{DarkChocolate}{rgb}{0.56,0.35,0.01}
\definecolor{DarkChameleon}{rgb}{0.30,0.60,0.02}
\definecolor{DarkSkyBlue}{rgb}{0.12,0.29,0.53}
\definecolor{DarkPlum}{rgb}{0.36,0.21,0.40}
\definecolor{DarkScarletRed}{rgb}{0.64,0.00,0.00}
\definecolor{Aluminium1}{rgb}{0.93,0.93,0.92}
\definecolor{Aluminium2}{rgb}{0.82,0.84,0.81}
\definecolor{Aluminium3}{rgb}{0.73,0.74,0.71}
\definecolor{Aluminium4}{rgb}{0.53,0.54,0.52}
\definecolor{Aluminium5}{rgb}{0.33,0.34,0.32}
\definecolor{Aluminium6}{rgb}{0.18,0.20,0.21}

\lstdefinelanguage{Smalltalk}{
%  morekeywords={true,false,self,super,nil},
 % classes:
 morekeywords=[1]{Transcript},
 % variables:
 morekeywords=[2]{},
 % method definitions:
 morekeywords=[3]{},
 % keywords:
 morekeywords=[4]{true,false,nil},
 morekeywords=[5]{self,super},  
 sensitive=true,
  morecomment=[s]{"}{"},
  morestring=[d]',
  alsoletter={:}
%  style=SmalltalkStyle
}
%\lstdefinestyle{SmalltalkStyle}{
%  literate={:=}{{$\gets$}}1{^}{{$\uparrow$}}1
%} 
\lstset{
	keywordstyle=[1]{\color{DarkSkyBlue}},
	keywordstyle=[2]{\color{DarkScarletRed}},
	keywordstyle=[3]{\bfseries},
	keywordstyle=[4]{\color{DarkPlum}},
	keywordstyle=[5]{\color{SkyBlue}},
	commentstyle={\color{Aluminium4}},
	stringstyle={\color{Chocolate}},
	tabsize=4,
	breaklines=true,
	basicstyle={\ttfamily},
	xleftmargin=21pt,
	xrightmargin=11pt,
	frame=single,
	rulecolor=\color{black!30},
	captionpos=b,
	framesep=10pt,
	framexleftmargin=18pt,
	numbers=none,
	numberstyle={\tiny},
	stepnumber=1,
	numbersep=15pt
}


%\usepackage{enumerate}%Para poder usar distintos enumerados

%\makeindex

\setlength{\hoffset}{-2cm}

\textwidth=16cm
\parskip=0.3cm
\headsep=0.75cm

\def\bigcomen#1{
\begin{tabular}[t]{| l |}
\hline
#1
\hline
\end{tabular}
}

\renewcommand{\labelenumii}{enumi.enumii}
\renewcommand{\labelenumiii}{enumii.enumiii}
\renewcommand{\labelenumiv}{enumiii.enumiv}

\def\dashul{\bgroup
  \ifdim\ULdepth=\maxdimen  % Set depth based on font, if not set already
   \settodepth\ULdepth{(j}\advance\ULdepth.4pt\fi
  \markoverwith{\kern.15em
  \vtop{\kern\ULdepth \hrule width .3em}%
  \kern.15em}\ULon}
	
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ENCABEZADO - INICIO
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy}


\fancyhf{} % delete current setting for header and footer

\renewcommand{\headrulewidth}{0.03 cm}
\renewcommand{\footrulewidth}{0.03 cm}

\lhead{PLP - Tp POO}
\rhead{Grupo: Club Social y Recursivo ia32}

%Para poder hacer referencia a la cantidad de hojas finales COMPILAR 2 VECES!!!
\fancyfoot[C,CO]{P\'agina \bfseries\thepage \ de \bfseries\pageref{LastPage}}


\newcommand{\listar}[1] {\begin{itemize} #1 \end{itemize}}

\newcommand{\info}[4] {\indent \textbf{CK}: \{#1\} \\ \indent \textbf{PK}: \{#2\} \\ \indent \textbf{FK}: \{#3\} #4}
\newcommand{\ul}[1]{\underline{\textbf{#1}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ENCABEZADO - FIN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% EMPIEZA EL DOCUMENTO                                                               %
\begin{document}
\include{plp-tp3-caratula}
\newpage
%\tableofcontents
\newpage
\include{plp-tp3-contenido}

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FIN DEL DOCUMENTO
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
